package com.tttt.aop.introduction;

import java.util.concurrent.atomic.AtomicInteger;

public class DefaultUsageTracked implements UsageTracked {

    private final AtomicInteger usedCount = new AtomicInteger(0);
    
    @Override
    public void increment() {
        usedCount.incrementAndGet();
    }

    @Override
    public int get() {
        return usedCount.get();
    }

}
